/**
 * @Project : ProgrammingExercises
 * @Package : Leetcode
 * @File : Q2525.java
 * @Author : WangRuoyu
 * @Date 2023/1/25 10:00
 */

package leetcode;

public class Q2525 {
    public String categorizeBox(int length, int width, int height, int mass) {
        boolean b;
        boolean h;
        long V = (long) length * (long) width * (long) height;

        System.out.println(V);
        if (mass >= 100) {
            h = true;
        } else {
            h = false;
        }

        if (((length >= 10000) || (width >= 10000) || (height >= 10000) || (mass >= 10000)) || ((V) >= 1000000000)) {
            b = true;
        } else {
            b = false;
        }

        if (b) {
            if (h) {
                return "Both";
            } else {
                return "Bulky";
            }
        } else {
            if (h) {
                return "Heavy";
            } else {
                return "Neither";
            }
        }
    }

    public static void main(String[] args) {
        Q2525 sl = new Q2525();
        int length = 100000;
        int width = 100000;
        int height = 100000;
        int mass = 50;
        System.out.println(sl.categorizeBox(length, width, height, mass));
    }
}
